package com.aixin.csopequity.domain;


import lombok.*;

import javax.persistence.*;
import java.util.List;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
@Entity(name = "equityleveldef")
public class EquityLevelDef {

    @Id
    private String equityLevelID;//权益等级ID
    private String equityID;//权益ID
    private String equityName;//权益名称
    private int equityType;//权益类型
    private int equityLevel;//权益等级
    private String equityLevelName;//等级名称
    private String equityLevelRemarks;//备注

    @OneToMany(mappedBy = "equityLevelID")
    private List<ServiceLevelDef> serviceLevelDef;

}
